package me.shiqiang.im.microservice;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author cuishiqiang
 * @date 2017/12/9 下午2:58
 */
@FeignClient(name = "im-http-service")
@RequestMapping("im/group")
public interface GroupClient {

    @GetMapping("{userId}/isNoDisturb/{sessionId}/{ctype}")
    boolean isNoDisturb(@PathVariable("userId") Long userId, @PathVariable("sessionId") Long sessionId, @PathVariable("ctype") int ctype);
}
